package net.ericaro.neojavagen.expressions;

/**
 * <b>ArrayCreationExpression</b> ::= "new" <{@link net .ericaro .neojavagen .expressions .ArrayCreationExpressionBody ArrayCreationExpressionBody}>
 * 
 * @author eric@ericaro.net
 */
public class ArrayCreationExpression extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.expressions.Primary {
	private net.ericaro.neojavagen.expressions.ArrayCreationExpressionBody arrayCreationExpressionBody;

	public ArrayCreationExpression(net.ericaro.neojavagen.expressions.ArrayCreationExpressionBody arrayCreationExpressionBody) {
		super();
		this.arrayCreationExpressionBody = arrayCreationExpressionBody;
	}

	public net.ericaro.neojavagen.expressions.ArrayCreationExpressionBody getArrayCreationExpressionBody() {
		return arrayCreationExpressionBody;
	}

	public void setArrayCreationExpressionBody(net.ericaro.neojavagen.expressions.ArrayCreationExpressionBody arrayCreationExpressionBody) {
		this.arrayCreationExpressionBody = arrayCreationExpressionBody;
	}

	@Override
	public java.lang.String toString() {
		return print("new", arrayCreationExpressionBody);
	}
}
